MPHB\Payments\Gateways\Gateway B

Total Complexity 81
Dependencies 6
Dependents 1
Total lines 549
Lines of code 271
Logical lines of code 137
Comment lines 192
Methods 35
Properties 12

Methods 35

Method Rating Maintainability Complexity Lines of code
parsePaymentFields()
B
43 22 42
renderField()
A
52 8 21
renderFieldWrapper()
S
51 5 30
registerOptionsFields()
S
44 3 47
setupPaymentFields()
S
62 6 10
storePaymentFields()
S
65 3 8
renderPaymentFields()
S
71 2 5
generateItemName()
S
68 2 7
getDefaultOption()
S
78 2 3
getMode()
S
80 2 3
getOption()
S
64 2 9
__construct()
S
68 1 7
paymentCompleted()
S
80 1 3
paymentOnHold()
S
80 1 3
paymentRefunded()
S
80 1 3
isSandbox()
S
82 1 3
getCheckoutData()
S
71 1 6
hasPaymentFields()
S
80 1 3
paymentFailed()
S
80 1 3
register()
S
81 1 3
processPayment()
S
100 1 0
isShowOptions()
S
82 1 3
initPaymentFields()
S
82 1 3
initId()
S
100 1 0
setupProperties()
S
68 1 7
initDefaultOptions()
S
66 1 9
getDescription()
S
82 1 3
isActive()
S
82 1 3
isEnabled()
S
82 1 3
getInstructions()
S
82 1 3
getTitle()
S
82 1 3
getAdminDescription()
S
82 1 3
getAdminTitle()
S
82 1 3
getId()
S
82 1 3
hasVisiblePaymentFields()
S
70 1 6